class CreateAuctions < ActiveRecord::Migration
  def self.up
    create_table :auctions do |t|
      t.column :owner, :int
      t.column :category, :string
      t.column :items_quantity, :int
      t.column :start_date, :datetime
      t.column :end_date, :datetime
      t.column :status, :string
      t.timestamps
    end
  end

  def self.down
    drop_table :auctions
  end
end
